#include<iostream>
#include<string>
using namespace std;

struct student
{
    string name;
    int age=0;
    int score=0;
};

int main()
{
    int n=0;
    student students[105];
    cin>>n;
    for(int i=0;i<n;i++)
    {
        cin>>students[i].name
           >>students[i].age
           >>students[i].score;
    }
    for(int i=0;i<n;i++)
    {
        students[i].score=students[i].score*1.2;
        cout<<students[i].name<<" "
           <<students[i].age+1<<" "
           <<students[i].score<<endl;
    }
    return 0;
}

